package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallStoreAccountDao;
import com.appkubes.mall.core.entity.MallStoreAccount;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallStoreAccountService extends AbstractBaseService<BaseMallStoreAccountDao, MallStoreAccount> {

    MallStoreAccount getOneByEntity(MallStoreAccount entity);

    List<MallStoreAccount> selectListByEntity(MallStoreAccount entity);

    IPage<MallStoreAccount> selectPageByEntity(IPage<MallStoreAccount> page);
    IPage<MallStoreAccount> selectPageByEntity(PageVO pageVO);

    IPage<MallStoreAccount> selectPageByEntity(MallStoreAccount entity, IPage<MallStoreAccount> page);
    IPage<MallStoreAccount> selectPageByEntity(MallStoreAccount entity, PageVO pageVO);

    IPage<MallStoreAccount> selectPageByEntity(MallStoreAccount entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallStoreAccount entity);
}
